package com.spic.business.violation.supervision.action.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.violation.supervision.action.domain.PhotoWithWatermarkDTO;
import com.spic.business.violation.supervision.action.domain.ViolationActionInput;

/**
 * 违章行为录入Mapper接口
 * 
 * @author spic
 * @date 2021-12-07
 */
public interface ViolationActionInputMapper extends BaseMapper<ViolationActionInput>
{
    /**
     * 查询违章行为录入
     * 
     * @param id 违章行为录入主键
     * @return 违章行为录入
     */
    public ViolationActionInput selectViolationActionInputById(Long id);

    /**
     * 查询违章行为录入列表
     * 
     * @param violationActionInput 违章行为录入
     * @return 违章行为录入集合
     */
    public List<ViolationActionInput> selectViolationActionInputList(ViolationActionInput violationActionInput);

    /**
     * 新增违章行为录入
     * 
     * @param violationActionInput 违章行为录入
     * @return 结果
     */
    public int insertViolationActionInput(ViolationActionInput violationActionInput);

    /**
     * 修改违章行为录入
     * 
     * @param violationActionInput 违章行为录入
     * @return 结果
     */
    public int updateViolationActionInput(ViolationActionInput violationActionInput);

    /**
     * 删除违章行为录入
     * 
     * @param id 违章行为录入主键
     * @return 结果
     */
    public int deleteViolationActionInputById(Long id);

    /**
     * 批量删除违章行为录入
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViolationActionInputByIds(Long[] ids);

    List<Map> tongbao();

    List<ViolationActionInput> selectViolationActionImage();

    List<PhotoWithWatermarkDTO> getPhotoWithWatermark();
}
